package com.cloud.xtools.module;

import com.cloud.xtools.api.config.OpenFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = {"com.cloud.xtools.api"}, defaultConfiguration = OpenFeignConfig.class)
@SpringBootApplication
@MapperScan({"com.cloud.xtools.common.mapper", "com.cloud.xtools.module.mapper"})
public class ModuleApplication {
    public static void main(String[] args) {
        // 启动
        SpringApplication.run(ModuleApplication.class, args);
    }
}
